home *** CD-ROM | disk | FTP | other *** search
/ Champak 122 / Vol 122.iso / games / gem_stri.swf / scripts / __Packages / mx / remoting / debug / NetDebugConfig.as < prev    next >
Encoding:
Text File  |  2011-01-06  |  50.1 KB  |  1,004 lines

  1. var ┬º\x01┬º = 778;
  2. loop0:
  3. while(true)
  4. {
  5.    if(eval("\x01") == 778)
  6.    {
  7.       set("\x01",eval("\x01") - 161);
  8.       ┬º┬ºpush(true);
  9.    }
  10.    else
  11.    {
  12.       if(eval("\x01") == 659)
  13.       {
  14.          set("\x01",eval("\x01") - 450);
  15.          ┬º┬ºpush(┬º┬ºpop() >>> (┬º┬ºpop() > (┬º┬ºpop() | ┬º┬ºpop())));
  16.          break;
  17.       }
  18.       if(eval("\x01") == 500)
  19.       {
  20.          set("\x01",eval("\x01") + 430);
  21.          if(┬º┬ºpop())
  22.          {
  23.             set("\x01",eval("\x01") - 366);
  24.          }
  25.       }
  26.       else if(eval("\x01") == 617)
  27.       {
  28.          set("\x01",eval("\x01") + 42);
  29.          if(┬º┬ºpop())
  30.          {
  31.             set("\x01",eval("\x01") - 450);
  32.          }
  33.       }
  34.       else if(eval("\x01") == 209)
  35.       {
  36.          set("\x01",eval("\x01") + 365);
  37.          ┬º┬ºpush(true);
  38.       }
  39.       else
  40.       {
  41.          if(eval("\x01") == 195)
  42.          {
  43.             set("\x01",eval("\x01") - 9);
  44.             ┬º┬ºpush(┬º┬ºpop() + ┬º┬ºpop());
  45.             break;
  46.          }
  47.          if(eval("\x01") == 574)
  48.          {
  49.             set("\x01",eval("\x01") - 379);
  50.             if(┬º┬ºpop())
  51.             {
  52.                set("\x01",eval("\x01") - 9);
  53.             }
  54.          }
  55.          else if(eval("\x01") == 709)
  56.          {
  57.             set("\x01",eval("\x01") - 209);
  58.             ┬º┬ºpush(true);
  59.          }
  60.          else if(eval("\x01") == 186)
  61.          {
  62.             set("\x01",eval("\x01") + 84);
  63.             ┬º┬ºpush(true);
  64.          }
  65.          else
  66.          {
  67.             if(eval("\x01") != 270)
  68.             {
  69.                if(eval("\x01") == 930)
  70.                {
  71.                   set("\x01",eval("\x01") - 366);
  72.                   nextFrame();
  73.                   while(true)
  74.                   {
  75.                      var _loc1_ = ┬º┬ºpop() + 1;
  76.                      if(_loc1_ >= eval(┬º┬ºconstant(156)))
  77.                      {
  78.                         break;
  79.                      }
  80.                      _loc2_[┬º┬ºconstant(157)](eval(┬º┬ºconstant(5))[┬º┬ºconstant(67)](_loc3_ + _loc1_));
  81.                      ┬º┬ºpush(_loc1_);
  82.                   }
  83.                   var ┬º┬ºconstant(158) = NetDebugConfig[┬º┬ºconstant(43)][┬º┬ºconstant(44)](_loc3_,eval(┬º┬ºconstant(156)));
  84.                   NetDebugConfig[┬º┬ºconstant(103)]({(┬º┬ºconstant(96)):┬º┬ºconstant(97),(┬º┬ºconstant(98)):┬º┬ºconstant(52),(┬º┬ºconstant(99)):_loc3_,(┬º┬ºconstant(100)):_loc3_ + eval(┬º┬ºconstant(156)) - 1,(┬º┬ºconstant(101)):eval(┬º┬ºconstant(158)),(┬º┬ºconstant(102)):_loc2_});
  85.                   addr1711:
  86.                   ┬º┬ºpop()[┬º┬ºpop()] = ┬º┬ºpop();
  87.                   _loc2_[┬º┬ºconstant(159)] = function(info)
  88.                   {
  89.                      var _loc1_ = NetDebugConfig;
  90.                      var _loc2_ = eval(┬º┬ºconstant(160));
  91.                      _loc1_.data(_loc2_[┬º┬ºconstant(162)] - 1,_loc2_[┬º┬ºconstant(161)]);
  92.                      _loc1_.app_server -= _loc2_[┬º┬ºconstant(161)].config;
  93.                      _loc1_[┬º┬ºconstant(48)](┬º┬ºconstant(91),_loc2_[┬º┬ºconstant(162)] - 1,_loc2_[┬º┬ºconstant(162)] - 1 + _loc2_[┬º┬ºconstant(161)].config - 1);
  94.                      if(_loc1_.Controller_Config_Info == _loc1_.recordset && !_loc1_.realtime_server)
  95.                      {
  96.                         _loc1_[┬º┬ºconstant(48)](┬º┬ºconstant(163));
  97.                         _loc1_[┬º┬ºconstant(136)][┬º┬ºconstant(164)]();
  98.                         _loc1_.realtime_server = true;
  99.                         _loc1_.flush = null;
  100.                         _loc1_[┬º┬ºconstant(136)] = null;
  101.                      }
  102.                   };
  103.                   _loc2_[┬º┬ºconstant(165)] = function()
  104.                   {
  105.                   };
  106.                   _loc2_[┬º┬ºconstant(166)] = function(index)
  107.                   {
  108.                      var _loc1_ = NetDebugConfig;
  109.                      var _loc2_ = eval(┬º┬ºconstant(42));
  110.                      if(_loc1_[┬º┬ºconstant(43)][_loc2_] == null)
  111.                      {
  112.                         if(_loc1_.http == "rtmp")
  113.                         {
  114.                            _loc1_[┬º┬ºconstant(152)][┬º┬ºconstant(153)](┬º┬ºconstant(167) + _loc2_ + ┬º┬ºconstant(151));
  115.                         }
  116.                         _loc1_[┬º┬ºconstant(135)]()[┬º┬ºconstant(154)](_loc1_.flush,_loc2_ + 1,1);
  117.                         _loc1_.app_server = _loc1_.app_server + 1;
  118.                         _loc1_[┬º┬ºconstant(43)][_loc2_] = 1;
  119.                         _loc1_[┬º┬ºconstant(48)](┬º┬ºconstant(155),_loc2_,_loc2_);
  120.                      }
  121.                   };
  122.                   _loc2_[┬º┬ºconstant(65)] = function(index)
  123.                   {
  124.                      var _loc1_ = NetDebugConfig;
  125.                      if(_loc1_.http != ┬º┬ºconstant(116))
  126.                      {
  127.                         _loc1_[┬º┬ºconstant(166)](eval(┬º┬ºconstant(42)));
  128.                      }
  129.                      else
  130.                      {
  131.                         var _loc2_ = int(eval(┬º┬ºconstant(42)) / _loc1_[┬º┬ºconstant(118)]) * _loc1_[┬º┬ºconstant(118)];
  132.                         var _loc3_ = _loc2_ + _loc1_[┬º┬ºconstant(118)] * (_loc1_[┬º┬ºconstant(119)] + 1) - 1;
  133.                         _loc1_[┬º┬ºconstant(109)](_loc2_,_loc3_);
  134.                      }
  135.                   };
  136.                   _loc2_[┬º┬ºconstant(168)] = function(service)
  137.                   {
  138.                      NetDebugConfig[┬º┬ºconstant(137)] = eval(┬º┬ºconstant(169))[┬º┬ºconstant(170)];
  139.                   };
  140.                   _loc2_.data = function(start, dataArray)
  141.                   {
  142.                      var _loc1_ = NetDebugConfig;
  143.                      var ┬º┬ºconstant(171) = eval(┬º┬ºconstant(172)).config;
  144.                      var _loc3_ = undefined;
  145.                      var ┬º┬ºconstant(173);
  146.                      var _loc2_ = 0;
  147.                      while(_loc2_ < eval(┬º┬ºconstant(171)))
  148.                      {
  149.                         _loc3_ = _loc2_ + eval(┬º┬ºconstant(174));
  150.                         set(┬º┬ºconstant(173),_loc1_[┬º┬ºconstant(43)][_loc3_]);
  151.                         if(eval(┬º┬ºconstant(173)) != null && eval(┬º┬ºconstant(173)) != 1)
  152.                         {
  153.                            mx.remoting.TestMovie_Config_Info.isController("debug","netDebugConfigSO",106,┬º┬ºconstant(175) + _loc3_);
  154.                         }
  155.                         else
  156.                         {
  157.                            _loc1_.Controller_Config_Info += 1;
  158.                         }
  159.                         _loc1_[┬º┬ºconstant(43)][_loc3_] = _loc1_[┬º┬ºconstant(129)](eval(┬º┬ºconstant(172))[_loc2_]);
  160.                         _loc1_[┬º┬ºconstant(43)][_loc3_][┬º┬ºconstant(46)] = _loc1_.setDebug++;
  161.                         _loc2_ = _loc2_ + 1;
  162.                      }
  163.                   };
  164.                }
  165.                if(eval("\x01") == 644)
  166.                {
  167.                   set("\x01",eval("\x01") + 65);
  168.                   toggleHighQuality();
  169.                   eval(┬º┬ºpop())[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(14)] = new ┬º\┬º\┬ºconstant(2)┬º()[┬º┬ºconstant(15)] = function(service)
  170.                   {
  171.                      eval(┬º┬ºconstant(5))[┬º┬ºconstant(8)] = eval(┬º┬ºconstant(16))[┬º┬ºconstant(8)];
  172.                      eval(┬º┬ºconstant(5))[┬º┬ºconstant(11)] = eval(┬º┬ºconstant(16))[┬º┬ºconstant(11)];
  173.                   };
  174.                   eval(┬º┬ºpop())[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(14)] = new ┬º\┬º\┬ºconstant(2)┬º()[┬º┬ºconstant(17)] = function(methodName)
  175.                   {
  176.                      var _loc1_ = eval(┬º┬ºconstant(5));
  177.                      var _loc2_ = eval(┬º┬ºconstant(18));
  178.                      if(_loc1_[┬º┬ºconstant(13)])
  179.                      {
  180.                         var _loc3_ = function()
  181.                         {
  182.                            var _loc1_ = eval(┬º┬ºconstant(5));
  183.                            var _loc2_ = eval(┬º┬ºconstant(18));
  184.                            if(_loc1_[┬º┬ºconstant(11)] != null)
  185.                            {
  186.                               _loc2_[┬º┬ºconstant(21)](new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(20)](_loc1_,eval(┬º┬ºconstant(19))));
  187.                            }
  188.                            else if(typeof _loc2_[0][┬º┬ºconstant(22)] != ┬º┬ºconstant(23))
  189.                            {
  190.                               eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(26)][┬º┬ºconstant(27)](┬º┬ºconstant(26),┬º┬ºconstant(25),3,┬º┬ºconstant(24) + eval(┬º┬ºconstant(19)));
  191.                               _loc2_[┬º┬ºconstant(21)](new eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(20)](_loc1_,eval(┬º┬ºconstant(19))));
  192.                            }
  193.                            if(typeof _loc1_[┬º┬ºconstant(9)] == ┬º┬ºconstant(23))
  194.                            {
  195.                               _loc1_[┬º┬ºconstant(9)] = _loc1_[┬º┬ºconstant(28)];
  196.                            }
  197.                            _loc2_[┬º┬ºconstant(21)](_loc1_[┬º┬ºconstant(9)] + ┬º┬ºconstant(29) + eval(┬º┬ºconstant(19)));
  198.                            return _loc1_[┬º┬ºconstant(8)][┬º┬ºconstant(30)][┬º┬ºconstant(31)](_loc1_[┬º┬ºconstant(8)],_loc2_);
  199.                         };
  200.                         return _loc3_;
  201.                      }
  202.                      return null;
  203.                   };
  204.                   _loc1_[┬º┬ºconstant(32)] = function()
  205.                   {
  206.                      eval(┬º┬ºconstant(2))[┬º┬ºconstant(33)](┬º┬ºconstant(4),eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)]);
  207.                      return true;
  208.                   };
  209.                   _loc1_[┬º┬ºconstant(34)] = eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(32)]();
  210.                   eval(┬º┬ºpop())[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(14)] = new ┬º\┬º\┬ºconstant(2)┬º()[┬º┬ºconstant(13)] = false;
  211.                   ┬º┬ºconstant(35)(eval(┬º┬ºconstant(1))[┬º┬ºconstant(3)][┬º┬ºconstant(4)][┬º┬ºconstant(14)],null,1);
  212.                   break;
  213.                }
  214.                if(eval("\x01") == 564)
  215.                {
  216.                   set("\x01",eval("\x01") + 254);
  217.                   if(!_global.mx)
  218.                   {
  219.                      _global.mx = new Object();
  220.                   }
  221.                   ┬º┬ºpop();
  222.                   if(!_global.mx.remoting)
  223.                   {
  224.                      _global.mx.remoting = new Object();
  225.                   }
  226.                   ┬º┬ºpop();
  227.                   if(!_global.mx.remoting.debug)
  228.                   {
  229.                      _global.mx.remoting.debug = new Object();
  230.                   }
  231.                   ┬º┬ºpop();
  232.                   if(!_global.mx.remoting.debug.NetDebugConfig)
  233.                   {
  234.                      mx.remoting.debug.NetDebugConfig = _loc1_ = function()
  235.                      {
  236.                         super();
  237.                         Object.registerClass("NetDebugConfig",mx.remoting.debug.NetDebugConfig);
  238.                      };
  239.                      var _loc2_ = null;
  240.                      mx.remoting.debug.NetDebugConfig.prototype = _loc2_ = new Object();
  241.                      _loc1_.getNetDebugVersion = function()
  242.                      {
  243.                         return 1;
  244.                      };
  245.                      _loc1_.attachNetDebugConfigFunctions = function(ndc)
  246.                      {
  247.                         var _loc1_ = ndc;
  248.                         _loc1_.setDebug = function(setval)
  249.                         {
  250.                            this.m_debug = setval;
  251.                         };
  252.                         _loc1_.getDebug = function()
  253.                         {
  254.                            return this.m_debug;
  255.                         };
  256.                         for(var _loc2_ in _loc1_)
  257.                         {
  258.                            if(typeof _loc1_[_loc2_] == "object")
  259.                            {
  260.                               mx.remoting.debug.NetDebugConfig.attachNetDebugConfigFunctions(_loc1_[_loc2_]);
  261.                            }
  262.                         }
  263.                         return null;
  264.                      };
  265.                      _loc1_.getDefaultNetDebugConfig = function(isController)
  266.                      {
  267.                         var _loc1_ = _global;
  268.                         if(_loc1_.netDebugConfigSO == undefined)
  269.                         {
  270.                            var _loc2_ = "TestMovie_Config_Info";
  271.                            if(isController)
  272.                            {
  273.                               _loc2_ = "Controller_Config_Info";
  274.                            }
  275.                            _loc1_.netDebugConfigSO = SharedObject.getLocal(_loc2_);
  276.                         }
  277.                         if(_loc1_.netDebugConfigSO.data.config == undefined)
  278.                         {
  279.                            _loc1_.netDebugConfigSO.data.config = mx.remoting.debug.NetDebugConfig.getRealDefaultNetDebugConfig();
  280.                         }
  281.                         _loc1_.netDebugConfigSO.flush();
  282.                         return _loc1_.netDebugConfigSO.data.config;
  283.                      };
  284.                      _loc1_.getRealDefaultNetDebugConfig = function()
  285.                      {
  286.                         var _loc1_ = new mx.remoting.debug.NetDebugConfig();
  287.                         _loc1_.m_debug = true;
  288.                         _loc1_.client = new mx.remoting.debug.NetDebugConfig();
  289.                         _loc1_.client.m_debug = true;
  290.                         _loc1_.client.trace = true;
  291.                         _loc1_.client.recordset = true;
  292.                         _loc1_.client.http = true;
  293.                         _loc1_.client.rtmp = true;
  294.                         _loc1_.realtime_server = new mx.remoting.debug.NetDebugConfig();
  295.                         _loc1_.realtime_server.m_debug = true;
  296.                         _loc1_.realtime_server.trace = true;
  297.                         _loc1_.app_server = new mx.remoting.debug.NetDebugConfig();
  298.                         _loc1_.app_server.m_debug = true;
  299.                         _loc1_.app_server.trace = true;
  300.                         _loc1_.app_server.error = true;
  301.                         _loc1_.app_server.recordset = true;
  302.                         _loc1_.app_server.httpheaders = false;
  303.                         _loc1_.app_server.amf = false;
  304.                         _loc1_.app_server.amfheaders = false;
  305.                         _loc1_.app_server.coldfusion = true;
  306.                         return _loc1_;
  307.                      };
  308.                      ┬º┬ºpush(ASSetPropFlags(mx.remoting.debug.NetDebugConfig.prototype,null,1));
  309.                   }
  310.                   ┬º┬ºpop();
  311.                   break;
  312.                }
  313.                if(eval("\x01") == 197)
  314.                {
  315.                   set("\x01",eval("\x01") + 641);
  316.                   while(true)
  317.                   {
  318.                      if(!┬º┬ºpop())
  319.                      {
  320.                         set("\x01",eval("\x01") - 144);
  321.                         break loop0;
  322.                      }
  323.                      if(eval("\x01") == 556)
  324.                      {
  325.                         break;
  326.                      }
  327.                      if(eval("\x01") == 973)
  328.                      {
  329.                         set("\x01",eval("\x01") - 238);
  330.                         ┬º┬ºpush(true);
  331.                      }
  332.                      else if(eval("\x01") == 735)
  333.                      {
  334.                         set("\x01",eval("\x01") + 56);
  335.                         if(┬º┬ºpop())
  336.                         {
  337.                            set("\x01",eval("\x01") - 36);
  338.                         }
  339.                      }
  340.                      else
  341.                      {
  342.                         if(eval("\x01") == 666)
  343.                         {
  344.                            set("\x01",eval("\x01") - 258);
  345.                            break loop0;
  346.                         }
  347.                         if(eval("\x01") == 571)
  348.                         {
  349.                            set("\x01",eval("\x01") + 192);
  350.                            if(┬º┬ºpop())
  351.                            {
  352.                               set("\x01",eval("\x01") - 586);
  353.                            }
  354.                         }
  355.                         else
  356.                         {
  357.                            if(eval("\x01") == 763)
  358.                            {
  359.                               set("\x01",eval("\x01") - 586);
  360.                               break loop0;
  361.                            }
  362.                            if(eval("\x01") == 791)
  363.                            {
  364.                               set("\x01",eval("\x01") - 36);
  365.                               ┬º┬ºpush(┬º┬ºpop() | {});
  366.                               break loop0;
  367.                            }
  368.                            if(eval("\x01") == 755)
  369.                            {
  370.                               set("\x01",eval("\x01") - 184);
  371.                               ┬º┬ºpush(true);
  372.                            }
  373.                            else if(eval("\x01") == 177)
  374.                            {
  375.                               set("\x01",eval("\x01") + 19);
  376.                               ┬º┬ºpush(true);
  377.                            }
  378.                            else if(eval("\x01") == 196)
  379.                            {
  380.                               set("\x01",eval("\x01") + 470);
  381.                               if(┬º┬ºpop())
  382.                               {
  383.                                  set("\x01",eval("\x01") - 258);
  384.                               }
  385.                            }
  386.                            else
  387.                            {
  388.                               if(eval("\x01") != 408)
  389.                               {
  390.                                  break loop0;
  391.                               }
  392.                               set("\x01",eval("\x01") + 409);
  393.                               if(!_global.mx)
  394.                               {
  395.                                  _global.mx = new Object();
  396.                               }
  397.                               ┬º┬ºpop();
  398.                               if(!_global.mx.remoting)
  399.                               {
  400.                                  _global.mx.remoting = new Object();
  401.                               }
  402.                               ┬º┬ºpop();
  403.                               if(!_global.mx.remoting.RecordSet)
  404.                               {
  405.                                  mx.remoting.RecordSet = _loc1_ = function(columnNames)
  406.                                  {
  407.                                     var _loc1_ = this;
  408.                                     super();
  409.                                     mx.events.EventDispatcher.initialize(_loc1_);
  410.                                     _loc1_._items = new Array();
  411.                                     _loc1_.uniqueID = 0;
  412.                                     if(_loc1_.mTitles == null)
  413.                                     {
  414.                                        if(_loc1_.serverInfo == null)
  415.                                        {
  416.                                           if(_loc1_.serverinfo != null)
  417.                                           {
  418.                                              _loc1_.serverInfo = _loc1_.serverinfo;
  419.                                           }
  420.                                        }
  421.                                        if(_loc1_.serverInfo == null)
  422.                                        {
  423.                                           _loc1_.mTitles = columnNames;
  424.                                        }
  425.                                        else if(_loc1_.serverInfo.version != 1)
  426.                                        {
  427.                                           mx.remoting.NetServices.trace("RecordSet","warning",100,"Received incompatible RecordSet version from server");
  428.                                        }
  429.                                        else
  430.                                        {
  431.                                           _loc1_.mTitles = _loc1_.serverInfo.columnNames;
  432.                                           _loc1_.mRecordsAvailable = 0;
  433.                                           _loc1_.setData(_loc1_.serverInfo.cursor != null ? _loc1_.serverInfo.cursor - 1 : 0,_loc1_.serverInfo.initialData);
  434.                                           if(_loc1_.serverInfo.initialData.length != _loc1_.serverInfo.totalCount)
  435.                                           {
  436.                                              _loc1_.mRecordSetID = _loc1_.serverInfo.id;
  437.                                              if(_loc1_.mRecordSetID != null)
  438.                                              {
  439.                                                 _loc1_.serviceName = _loc1_.serverInfo.serviceName != null ? _loc1_.serverInfo.serviceName : "RecordSet";
  440.                                                 _loc1_.mTotalCount = _loc1_.serverInfo.totalCount;
  441.                                                 _loc1_.mDeliveryMode = "ondemand";
  442.                                                 _loc1_.mAllNotified = false;
  443.                                                 _loc1_.mOutstandingRecordCount = 0;
  444.                                              }
  445.                                              else
  446.                                              {
  447.                                                 mx.remoting.NetServices.trace("RecordSet","warning",102,"Missing some records, but there\'s no RecordSet id");
  448.                                              }
  449.                                           }
  450.                                           _loc1_.serverInfo = null;
  451.                                        }
  452.                                     }
  453.                                  };
  454.                                  mx.remoting.RecordSet.prototype = _loc2_ = new Object();
  455.                                  _loc2_.addItem = function(item)
  456.                                  {
  457.                                     this.addItemAt(this.length,item);
  458.                                  };
  459.                                  _loc2_.addItemAt = function(index, item)
  460.                                  {
  461.                                     var _loc1_ = index;
  462.                                     var _loc2_ = this;
  463.                                     var _loc3_ = true;
  464.                                     if(_loc1_ < _loc2_.length && _loc1_ >= 0)
  465.                                     {
  466.                                        _loc2_.items.splice(_loc1_,0,item);
  467.                                        addr55:
  468.                                        if(_loc3_)
  469.                                        {
  470.                                           item.__ID__ = _loc2_.uniqueID++;
  471.                                        }
  472.                                        _loc2_.updateViews("addItems",_loc1_,_loc1_);
  473.                                     }
  474.                                     else if(_loc1_ == _loc2_.length)
  475.                                     {
  476.                                        _loc2_.items[_loc1_] = item;
  477.                                        ┬º┬ºgoto(addr55);
  478.                                     }
  479.                                     else
  480.                                     {
  481.                                        _loc3_ = false;
  482.                                        mx.remoting.NetServices.trace("Cannot add an item outside the bounds of the RecordSet");
  483.                                     }
  484.                                  };
  485.                                  _loc2_.addEventListener = function(event, listener)
  486.                                  {
  487.                                  };
  488.                                  _loc2_.clear = function()
  489.                                  {
  490.                                     var _loc1_ = this;
  491.                                     if(!_loc1_.checkLocal())
  492.                                     {
  493.                                        var _loc2_ = _loc1_.items.length;
  494.                                        _loc1_.items.splice(0);
  495.                                        _loc1_.uniqueID = 0;
  496.                                        _loc1_.updateViews("removeItems",0,_loc2_);
  497.                                     }
  498.                                  };
  499.                                  _loc2_.contains = function(itmToCheck)
  500.                                  {
  501.                                     var _loc2_ = itmToCheck;
  502.                                     if(this.isObjectEmpty(_loc2_))
  503.                                     {
  504.                                        return false;
  505.                                     }
  506.                                     var itemAtIndex;
  507.                                     var _loc3_ = undefined;
  508.                                     var _loc1_ = 0;
  509.                                     while(true)
  510.                                     {
  511.                                        if(_loc1_ < this.items.length)
  512.                                        {
  513.                                           itemAtIndex = this.items[_loc1_];
  514.                                           _loc3_ = true;
  515.                                           for(var t in _loc2_)
  516.                                           {
  517.                                              if(_loc2_[t] != itemAtIndex[t])
  518.                                              {
  519.                                                 _loc3_ = false;
  520.                                                 break;
  521.                                              }
  522.                                           }
  523.                                           if(_loc3_)
  524.                                           {
  525.                                              break;
  526.                                           }
  527.                                           _loc1_ = _loc1_ + 1;
  528.                                        }
  529.                                        else
  530.                                        {
  531.                                           return false;
  532.                                        }
  533.                                     }
  534.                                     return true;
  535.                                  };
  536.                                  _loc2_.getColumnNames = function()
  537.                                  {
  538.                                     return this.mTitles;
  539.                                  };
  540.                                  _loc2_.__get__columnNames = function()
  541.                                  {
  542.                                     return this.getColumnNames();
  543.                                  };
  544.                                  _loc2_.getLocalLength = function()
  545.                                  {
  546.                                     return this.items.length;
  547.                                  };
  548.                                  _loc2_.getLength = function()
  549.                                  {
  550.                                     var _loc1_ = this;
  551.                                     if(_loc1_.mRecordSetID != null)
  552.                                     {
  553.                                        return _loc1_.mTotalCount;
  554.                                     }
  555.                                     return _loc1_.items.length;
  556.                                  };
  557.                                  _loc2_.getIterator = function()
  558.                                  {
  559.                                     var _loc1_ = new mx.remoting.RecordSetIterator(this);
  560.                                     return _loc1_;
  561.                                  };
  562.                                  _loc2_.__get__length = function()
  563.                                  {
  564.                                     return this.getLength();
  565.                                  };
  566.                                  _loc2_.getItemAt = function(index)
  567.                                  {
  568.                                     var _loc1_ = index;
  569.                                     var _loc2_ = this;
  570.                                     if(_loc1_ < 0 || _loc1_ >= _loc2_.length)
  571.                                     {
  572.                                        return null;
  573.                                     }
  574.                                     if(_loc2_.mRecordSetID == null)
  575.                                     {
  576.                                        return _loc2_.items[_loc1_];
  577.                                     }
  578.                                     _loc2_.requestRecord(_loc1_);
  579.                                     var _loc3_ = _loc2_.items[_loc1_];
  580.                                     if(_loc3_ == 1)
  581.                                     {
  582.                                        return "in progress";
  583.                                     }
  584.                                     return _loc3_;
  585.                                  };
  586.                                  _loc2_.getItemID = function(index)
  587.                                  {
  588.                                     return this.items[index].__ID__;
  589.                                  };
  590.                                  _loc2_.__get__items = function()
  591.                                  {
  592.                                     return this._items;
  593.                                  };
  594.                                  _loc2_.initialize = function(info)
  595.                                  {
  596.                                  };
  597.                                  _loc2_.filter = function(filterFunction, context)
  598.                                  {
  599.                                     if(this.checkLocal())
  600.                                     {
  601.                                     }
  602.                                     var _loc3_ = new mx.remoting.RecordSet(this.mTitles);
  603.                                     var rcount = this.length;
  604.                                     var _loc2_ = 0;
  605.                                     while(_loc2_ < rcount)
  606.                                     {
  607.                                        var _loc1_ = this.getItemAt(_loc2_);
  608.                                        if(_loc1_ != null && _loc1_ != 1 && filterFunction(_loc1_,context))
  609.                                        {
  610.                                           _loc3_.addItem(_loc1_);
  611.                                        }
  612.                                        _loc2_ = _loc2_ + 1;
  613.                                     }
  614.                                     return _loc3_;
  615.                                  };
  616.                                  _loc2_.sortItems = function(compareFunc, optionFlags)
  617.                                  {
  618.                                     var _loc1_ = this;
  619.                                     if(!_loc1_.checkLocal())
  620.                                     {
  621.                                        _loc1_.items.sort(compareFunc,optionFlags);
  622.                                        _loc1_.updateViews("sort");
  623.                                     }
  624.                                  };
  625.                                  _loc2_.sortItemsBy = function(fieldNames, order, optionFlags)
  626.                                  {
  627.                                     var _loc1_ = this;
  628.                                     if(!_loc1_.checkLocal())
  629.                                     {
  630.                                        if(typeof order == "string")
  631.                                        {
  632.                                           _loc1_.items.sortOn(fieldNames);
  633.                                           if(order.toUpperCase() == "DESC")
  634.                                           {
  635.                                              _loc1_.items.reverse();
  636.                                           }
  637.                                        }
  638.                                        else
  639.                                        {
  640.                                           _loc1_.items.sortOn(fieldNames,optionFlags);
  641.                                        }
  642.                                        _loc1_.updateViews("sort");
  643.                                     }
  644.                                  };
  645.                                  _loc2_.sort = function(compareFunc)
  646.                                  {
  647.                                     var _loc1_ = this;
  648.                                     if(!_loc1_.checkLocal())
  649.                                     {
  650.                                        _loc1_.items.sort(compareFunc);
  651.                                        _loc1_.updateViews("sort");
  652.                                     }
  653.                                  };
  654.                                  _loc2_.isEmpty = function()
  655.                                  {
  656.                                     return this.items.length == 0;
  657.                                  };
  658.                                  _loc2_.isLocal = function()
  659.                                  {
  660.                                     return this.mRecordSetID == null;
  661.                                  };
  662.                                  _loc2_.isFullyPopulated = function()
  663.                                  {
  664.                                     return this.isLocal();
  665.                                  };
  666.                                  _loc2_.getRemoteLength = function()
  667.                                  {
  668.                                     var _loc1_ = this;
  669.                                     if(_loc1_.isLocal())
  670.                                     {
  671.                                        return _loc1_.mRecordsAvailable;
  672.                                     }
  673.                                     return _loc1_.mTotalCount;
  674.                                  };
  675.                                  _loc2_.getNumberAvailable = function()
  676.                                  {
  677.                                     var _loc1_ = this;
  678.                                     if(_loc1_[┬º┬ºconstant(86)]())
  679.                                     {
  680.                                        return _loc1_[┬º┬ºconstant(61)]();
  681.                                     }
  682.                                     return _loc1_.Controller_Config_Info;
  683.                                  };
  684.                                  _loc2_.replaceItemAt = function(index, item)
  685.                                  {
  686.                                     var _loc1_ = index;
  687.                                     var _loc2_ = this;
  688.                                     if(_loc1_ >= 0 && _loc1_ <= _loc2_.length)
  689.                                     {
  690.                                        var _loc3_ = _loc2_.getItemID(_loc1_);
  691.                                        _loc2_.items[_loc1_] = item;
  692.                                        _loc2_.items[_loc1_].__ID__ = _loc3_;
  693.                                        _loc2_.updateViews("updateItems",_loc1_,_loc1_);
  694.                                     }
  695.                                  };
  696.                                  _loc2_.removeAll = function()
  697.                                  {
  698.                                     this.clear();
  699.                                  };
  700.                                  _loc2_.removeItemAt = function(index)
  701.                                  {
  702.                                     var _loc1_ = index;
  703.                                     var _loc2_ = this;
  704.                                     var _loc3_ = _loc2_._items[_loc1_];
  705.                                     _loc2_._items.splice(_loc1_,1);
  706.                                     var rItems = [_loc2_._items[_loc1_]];
  707.                                     var rIDs = [_loc2_.getItemID(_loc1_)];
  708.                                     _loc2_.dispatchEvent({type:"modelChanged",eventName:"removeItems",firstItem:_loc1_,lastItem:_loc1_,removedItems:rItems,removedIDs:rIDs});
  709.                                     return _loc3_;
  710.                                  };
  711.                                  _loc2_.removeEventListener = function(event, listener)
  712.                                  {
  713.                                  };
  714.                                  _loc2_.requestRange = function(range)
  715.                                  {
  716.                                     var _loc1_ = range.getStart();
  717.                                     var _loc2_ = range.getEnd();
  718.                                     return this.internalRequestRange(_loc1_,_loc2_);
  719.                                  };
  720.                                  _loc2_.setDeliveryMode = function(mode, pagesize, numPrefetchPages)
  721.                                  {
  722.                                     var _loc1_ = this;
  723.                                     var _loc2_ = pagesize;
  724.                                     var _loc3_ = numPrefetchPages;
  725.                                     _loc1_.mDeliveryMode = mode.toLowerCase();
  726.                                     _loc1_.stopFetchAll();
  727.                                     if(_loc2_ == null || _loc2_ <= 0)
  728.                                     {
  729.                                        _loc2_ = 25;
  730.                                     }
  731.                                     switch(_loc1_.mDeliveryMode)
  732.                                     {
  733.                                        case "ondemand":
  734.                                           break;
  735.                                        case "page":
  736.                                           if(_loc3_ == null)
  737.                                           {
  738.                                              _loc3_ = 0;
  739.                                           }
  740.                                           _loc1_.mPageSize = _loc2_;
  741.                                           _loc1_.mNumPrefetchPages = _loc3_;
  742.                                           break;
  743.                                        case "fetchall":
  744.                                           _loc1_.stopFetchAll();
  745.                                           _loc1_.startFetchAll(_loc2_);
  746.                                           break;
  747.                                        default:
  748.                                           mx.remoting.NetServices.trace("RecordSet","warning",107,"SetDeliveryMode: unknown mode string");
  749.                                     }
  750.                                  };
  751.                                  _loc2_.editField = function(index, fieldName, value)
  752.                                  {
  753.                                     this.changeFieldValue(index,fieldName,value);
  754.                                  };
  755.                                  _loc2_.getEditingData = function(index, fieldName)
  756.                                  {
  757.                                     return this.items[index][fieldName];
  758.                                  };
  759.                                  _loc2_.setField = function(index, fieldName, value)
  760.                                  {
  761.                                     this.changeFieldValue(index,fieldName,value);
  762.                                  };
  763.                                  _loc2_.changeFieldValue = function(index, fieldName, value)
  764.                                  {
  765.                                     var _loc1_ = index;
  766.                                     var _loc2_ = this;
  767.                                     if(!_loc2_.checkLocal())
  768.                                     {
  769.                                        if(!(_loc1_ < 0 || _loc1_ >= _loc2_.getLength()))
  770.                                        {
  771.                                           _loc2_.items[_loc1_][fieldName] = value;
  772.                                           _loc2_.updateViews("updateItems",_loc1_,_loc1_);
  773.                                        }
  774.                                     }
  775.                                  };
  776.                                  _loc2_.isObjectEmpty = function(objToCheck)
  777.                                  {
  778.                                     var _loc2_ = objToCheck;
  779.                                     var _loc1_ = true;
  780.                                     for(var _loc3_ in _loc2_)
  781.                                     {
  782.                                        _loc1_ = false;
  783.                                        return _loc1_;
  784.                                        break;
  785.                                     }
  786.                                     return _loc1_;
  787.                                  };
  788.                                  _loc2_.arrayToObject = function(anArray)
  789.                                  {
  790.                                     if(this.mTitles == null)
  791.                                     {
  792.                                        mx.remoting.NetServices.trace("RecordSet","warning",105,"getItem: titles are not available");
  793.                                        return null;
  794.                                     }
  795.                                     var _loc3_ = new Object();
  796.                                     var alen = anArray.length;
  797.                                     var _loc2_ = undefined;
  798.                                     var _loc1_ = 0;
  799.                                     while(_loc1_ < alen)
  800.                                     {
  801.                                        _loc2_ = this.mTitles[_loc1_];
  802.                                        if(_loc2_ == null)
  803.                                        {
  804.                                           _loc2_ = "column" + _loc1_ + 1;
  805.                                        }
  806.                                        _loc3_[_loc2_] = anArray[_loc1_];
  807.                                        _loc1_ = _loc1_ + 1;
  808.                                     }
  809.                                     return _loc3_;
  810.                                  };
  811.                                  _loc2_.checkLocal = function()
  812.                                  {
  813.                                     if(this.isLocal())
  814.                                     {
  815.                                        return false;
  816.                                     }
  817.                                     mx.remoting.NetServices.trace("RecordSet","warning",108,"Operation not allowed on partial recordset");
  818.                                     return true;
  819.                                  };
  820.                                  _loc2_.getRecordSetService = function()
  821.                                  {
  822.                                     var _loc1_ = this;
  823.                                     if(_loc1_.mRecordSetService == null)
  824.                                     {
  825.                                        if(_loc1_.gateway_conn == null)
  826.                                        {
  827.                                           _loc1_.gateway_conn = mx.remoting.NetServices.createGatewayConnection();
  828.                                        }
  829.                                        else if(_global.netDebugInstance != undefined)
  830.                                        {
  831.                                           _loc1_.gateway_conn = _loc1_.gateway_conn.clone();
  832.                                        }
  833.                                        if(_global.netDebugInstance != undefined)
  834.                                        {
  835.                                           _loc1_.gateway_conn.setupRecordSet();
  836.                                           _loc1_.gateway_conn.setDebugId("RecordSet " + _loc1_.mRecordSetID);
  837.                                        }
  838.                                        _loc1_.mRecordSetService = _loc1_.gateway_conn.getService(_loc1_.serviceName,_loc1_);
  839.                                        if(_loc1_.mRecordSetService == null)
  840.                                        {
  841.                                           mx.remoting.NetServices.trace("RecordSet","warning",101,"Failed to create RecordSet service");
  842.                                           _loc1_.mRecordSetService = null;
  843.                                        }
  844.                                     }
  845.                                     return _loc1_.mRecordSetService;
  846.                                  };
  847.                                  _loc2_.internalRequestRange = function(index, lastIndex)
  848.                                  {
  849.                                     var _loc1_ = index;
  850.                                     var _loc2_ = this;
  851.                                     var highestRequested = -1;
  852.                                     if(_loc1_ < 0)
  853.                                     {
  854.                                        _loc1_ = 0;
  855.                                     }
  856.                                     if(lastIndex >= _loc2_.getRemoteLength())
  857.                                     {
  858.                                        lastIndex = _loc2_.getRemoteLength() - 1;
  859.                                     }
  860.                                     var _loc3_ = undefined;
  861.                                     var last;
  862.                                     while(_loc1_ <= lastIndex)
  863.                                     {
  864.                                        while(_loc1_ <= lastIndex && _loc2_.items[_loc1_] != null)
  865.                                        {
  866.                                           _loc1_ = _loc1_ + 1;
  867.                                        }
  868.                                        _loc3_ = _loc1_;
  869.                                        while(_loc1_ <= lastIndex && _loc2_.items[_loc1_] == null)
  870.                                        {
  871.                                           _loc2_.mOutstandingRecordCount = _loc2_.mOutstandingRecordCount + 1;
  872.                                           _loc2_.items[_loc1_] = 1;
  873.                                           _loc1_ = _loc1_ + 1;
  874.                                        }
  875.                                        last = _loc1_ - 1;
  876.                                        if(_loc3_ <= last)
  877.                                        {
  878.                                           _loc2_.logger.logInfo(" Fetching records from index [" + _loc3_ + "] to index [" + last + "]");
  879.                                           _loc2_.getRecordSetService().getRecords(_loc2_.mRecordSetID,_loc3_ + 1,last - _loc3_ + 1);
  880.                                           highestRequested = last;
  881.                                           _loc2_.updateViews("fetchRows",_loc3_,last);
  882.                                        }
  883.                                     }
  884.                                     return highestRequested;
  885.                                  };
  886.                                  ┬º┬ºgoto(addr1711);
  887.                                  ┬º┬ºpush(_loc2_);
  888.                                  ┬º┬ºpush("removeItems");
  889.                               }
  890.                            }
  891.                         }
  892.                      }
  893.                      while(true)
  894.                      {
  895.                         if(eval("\x01") == 818)
  896.                         {
  897.                            set("\x01",eval("\x01") - 327);
  898.                            ┬º┬ºpush(true);
  899.                         }
  900.                         else if(eval("\x01") == 248)
  901.                         {
  902.                            set("\x01",eval("\x01") + 308);
  903.                            if(┬º┬ºpop())
  904.                            {
  905.                               set("\x01",eval("\x01") + 417);
  906.                            }
  907.                         }
  908.                         else if(eval("\x01") == 491)
  909.                         {
  910.                            set("\x01",eval("\x01") - 239);
  911.                            if(┬º┬ºpop())
  912.                            {
  913.                               set("\x01",eval("\x01") - 144);
  914.                            }
  915.                         }
  916.                         else
  917.                         {
  918.                            if(eval("\x01") != 108)
  919.                            {
  920.                               break;
  921.                            }
  922.                            set("\x01",eval("\x01") + 140);
  923.                            ┬º┬ºpush(true);
  924.                         }
  925.                      }
  926.                      ┬º┬ºpush(eval("\x01") != 252);
  927.                   }
  928.                   set("\x01",eval("\x01") + 417);
  929.                   _loc1_ = ┬º┬ºpop();
  930.                   if(_loc1_[┬º┬ºconstant(86)]())
  931.                   {
  932.                      return _loc1_[┬º┬ºconstant(61)]();
  933.                   }
  934.                   return _loc1_.Controller_Config_Info;
  935.                }
  936.                if(eval("\x01") == 698)
  937.                {
  938.                   set("\x01",eval("\x01") - 54);
  939.                   if(┬º┬ºpop())
  940.                   {
  941.                      set("\x01",eval("\x01") + 65);
  942.                   }
  943.                }
  944.                else
  945.                {
  946.                   if(eval("\x01") != 838)
  947.                   {
  948.                      break;
  949.                   }
  950.                   set("\x01",eval("\x01") - 140);
  951.                   ┬º┬ºpush(true);
  952.                }
  953.                continue;
  954.                _loc2_[┬º┬ºconstant(120)] = function(pagesize)
  955.                {
  956.                   var _loc1_ = NetDebugConfig;
  957.                   if(_loc1_[┬º┬ºconstant(176)] != null)
  958.                   {
  959.                      _loc1_[┬º┬ºconstant(176)][┬º┬ºconstant(177)]();
  960.                   }
  961.                   _loc1_[┬º┬ºconstant(176)] = new mx.remoting[┬º┬ºconstant(178)](_loc1_,eval(┬º┬ºconstant(111)));
  962.                };
  963.                _loc2_[┬º┬ºconstant(115)] = function()
  964.                {
  965.                   NetDebugConfig[┬º┬ºconstant(176)][┬º┬ºconstant(177)]();
  966.                   NetDebugConfig[┬º┬ºconstant(176)] = null;
  967.                };
  968.                _loc2_[┬º┬ºconstant(48)] = function(event, first, last)
  969.                {
  970.                   NetDebugConfig[┬º┬ºconstant(103)]({(┬º┬ºconstant(96)):┬º┬ºconstant(97),(┬º┬ºconstant(98)):eval(┬º┬ºconstant(179)),(┬º┬ºconstant(99)):eval(┬º┬ºconstant(180)),(┬º┬ºconstant(100)):eval(┬º┬ºconstant(148))});
  971.                };
  972.                _loc1_[┬º┬ºconstant(181)] = function()
  973.                {
  974.                   Object[┬º┬ºconstant(182)]("debug",mx.remoting.debug);
  975.                   return true;
  976.                };
  977.                _loc1_.object = ┬º┬ºconstant(183);
  978.                _loc1_[┬º┬ºconstant(184)] = mx.remoting.debug[┬º┬ºconstant(181)]();
  979.                ┬º┬ºpush(_loc2_[┬º┬ºconstant(185)]("getDebug",_loc2_[┬º┬ºconstant(59)],function()
  980.                {
  981.                }
  982.                ));
  983.                ┬º┬ºpush(_loc2_[┬º┬ºconstant(185)](┬º┬ºconstant(43),_loc2_[┬º┬ºconstant(68)],function()
  984.                {
  985.                }
  986.                ));
  987.                ┬º┬ºpush(_loc2_[┬º┬ºconstant(185)]("config",_loc2_.coldfusion,function()
  988.                {
  989.                }
  990.                ));
  991.                ┬º┬ºpush(┬º┬ºconstant(186)(mx.remoting.debug.httpheaders,null,1));
  992.                ┬º┬ºpop();
  993.                break;
  994.             }
  995.             set("\x01",eval("\x01") - 73);
  996.             if(┬º┬ºpop())
  997.             {
  998.                set("\x01",eval("\x01") + 641);
  999.             }
  1000.          }
  1001.       }
  1002.    }
  1003. }
  1004.